﻿using System;
using System.Collections.Generic;
using System.Text;
using Tauren.File.Entity.Config;

namespace Tauren.File.Service.FileVersionBLL
{
    /// <summary>
    /// 文档版本
    /// </summary>
    public interface IFileVersionService
    {
        /// <summary>
        /// 获取所有历史的信息
        /// </summary>
        /// <param name="fileid"></param>
        /// <returns></returns>
        IResponseMessage RefreshHistory(long fileid);
        /// <summary>
        /// 设置历史
        /// </summary>
        /// <param name="fileid"></param>
        /// <returns></returns>
        IResponseMessage SetHistoryData(long fileid, long version); 

        /// <summary>
        /// 获取文件配置信息
        /// </summary>
        /// <param name="editType"></param>
        /// <param name="systemType"></param>
        /// <param name="fileid"></param>
        /// <returns></returns>
        IResponseMessage Config(int editType, int systemType, int fileid);
    }
}
